part of 'course_page_bloc.dart';

abstract class CoursePageState extends Equatable {
  const CoursePageState();

  @override
  List<Object> get props => [];
}

class CoursePageInitial extends CoursePageState {}

class CoursePageBannerResult extends CoursePageState {
  final String id;
  final List<StoreHomeBannerEntity> list;
  final String errMsg;

  CoursePageBannerResult(this.id, {this.list, this.errMsg});

  @override
  List<Object> get props => [this.id, this.list, this.errMsg];
}

class CoursePageMapResult extends CoursePageState {
  final String id;
  final List<StoreMapEntity> list;
  final String errMsg;
  CoursePageMapResult(this.id, {this.list, this.errMsg});

  @override
  List<Object> get props => [this.id, this.list];
}

/// 首页数据获取成功
class CoursePageFetchSuccess extends CoursePageState {
  final String id;

  CoursePageFetchSuccess(this.id);

  @override
  List<Object> get props => [this.id];
}
